package com.itheima.ssm.dao;

import com.itheima.ssm.domain.Member;
import org.apache.ibatis.annotations.Select;

/**
 * MemberDao接口
 */
public interface IMemberDao {
    /**
     * 通过id查询member
     * @param memberId
     * @return
     */
    @Select("select * from member where id = #{memberId}")
    public Member findById(int memberId);
}
